package org.zoomdev.zoom.common.caster;

class AnyCaster implements ValueCaster {

    Class<?> toType;

    AnyCaster(Class<?> toType) {
        this.toType = toType;
    }

    @Override
    public Object to(Object src) {
        return Caster.to(src, toType);
    }
}